home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4955 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: uni-paderborn.de!usenet
  2. From: laire@basis.owl.de (Ralph Schmidt)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: FindTask() VERY IMPORTANT
  5. Date: 7 Mar 1996 08:47:18 GMT
  6. Organization: Universitaet Paderborn, Germany
  7. Message-ID: <4hm7qm$otm@news.uni-paderborn.de>
  8. References: <4hfvff$sj6@werple.net.au> <192.6637T931T2098@academy.bastad.se>?20@
  9. NNTP-Posting-Host: basis.owl.de
  10. In-Reply-To: <4hfvff$sj6@werple.net.au>
  11. X-Newsreader: NewsFlash [$Revision: 2.104 $] NF-U-00029
  12.  
  13. On 03/05/96, Chris Hames wrote:
  14. >sten@academy.bastad.se (Sten Jansson) writes:
  15. >
  16. >>When calling FindTask() with FindTask(0) and there are several tasks with
  17. >>the same name as the task that is calling e.g. "shell process" - can you  
  18. be
  19. >>sure that it finds the right task?
  20. >
  21. >Yes because with the NULL argument it will just use SysBase->ThisTask which
  22. >you can read yourself but hey when there is a system call use it.
  23. >
  24. >-- 
  25. >Chris Hames   bytey@werple.mira.net.au (OR bytey@melbourne.dialix.oz.au)
  26.  
  27. Very Important!
  28.  
  29. Never ever use SysBase->ThisTask for your programs. It will be
  30. banned/forbidden in the next OS release. So please start using
  31. FindTask(NULL) now to make the life easier for an emulator.
  32.  
  33.  
  34.  
  35.  
  36. --
  37. --
  38. Ralph Schmidt,laire@popmail.owl.de,NextMail welcome
  39.